@import "reset.css";
@import "../font/iconfont.css";
html,body{
    height: 100%;
}
body{
    max-width: 7.5rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}
header{
    height: 2.8rem;
    background: linear-gradient(#ff6040, #ff887d);
    padding-top: .43rem;
    box-sizing: border-box;
    #title{
        height: .64rem;
        display: flex;
        color: #ffdfd8;
        align-items: center;
        padding: 0 .12rem 0 .33rem;
        box-sizing: border-box;
        em{
            font-size:.36rem; 
        }
        h2{
            font-size: .3rem;
            margin: 0 1.18rem 0 2.55rem;
        }
        p{
            width: 1.72rem;
            height: .62rem;
            border: 1px solid #ff8a6f;
            border-radius: .3rem;
            position: relative;
            display: flex;
            justify-content: space-around;
            align-items: center;

            span{
                &:nth-child(1){
                    font-size: .4rem;
                }
                &:nth-child(2){
                    font-size: .3rem;
                }
            }
            
            i{
                width: 1px;
                height: .37rem;
                background:#ff8a6f; 
                position: absolute;
                top: .12rem;
                left: .86rem;
            }
        }
    }
 
    input{
        width: 6.84rem;
        height: .6rem;
        border:1px solid #e6e6e6;
        background: #fff;
        margin: .31rem .2rem 0;
        border-radius: .05rem;
        &::placeholder{
            font-size: .26rem;
            padding-left: .22rem;
            color: #9e9e9e;
        }
    }
}
// 导航部分
#nav-top{
    height: .45rem;
    padding-top: .3rem;
    background: #ff887d;
    display: flex;
    font-size: .26rem;
    align-items: center;

    nav{
        display: flex;
        width:6.2rem;
        height: .3rem;
        background: url(../images/line.jpg) no-repeat right bottom;
        padding: 0 .38rem 0 .2rem;
        justify-content: space-between;
        align-items: center;

        a{
            color: #fff3f2;
            &.cur{
                font-size: .3rem;
                color: #fff;
            }
        }
    }

    p{
        width: 1.3rem;
        color: #fff;
        text-align: center;
        line-height: .6rem;
        span{
            vertical-align: bottom;
        }
    }
}
section{
    flex: 1;
    overflow: auto;
    padding: .2rem .2rem 0; 
    box-sizing: border-box;
    h3{
        width: 7.08rem;
        height: .62rem;
        background: #fff4f2;
        color:#ff6040;
        border: 1px solid #ff6040;
        border-radius: .05rem;
        line-height: .62rem;
        text-align: center;
        font-size: .3rem;
        font-weight: bold;
    }
    article{
        display: flex;
        justify-content: space-between;
        margin-top: .4rem;
        img{
            width: 2.16rem;
        }
        div{

            p{
                
                &:nth-child(1){
                    font-size: .3rem;
                    color: #333; 
                    width: 4.5rem;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;

                }
                &:nth-child(2){
                    font-size: .26rem;
                    color: #999;
                    width: 4.5rem;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                }
                &:nth-child(3){
                    font-size: .3rem;
                    color: #ff6040;
                    margin-top: .33rem;
                    b{
                        font-size:.14rem; 
                    }
                    del{
                        font-size: .14rem;
                        color: #9a9a9a;
                    }
                    span{
                    font-size: .18rem;
                    color: #999;
                    }
                }
    
                &:nth-child(4){
                    width: 2.4rem;
                    height: .31rem;
                    background: #ff8066;
                    border-top: 1px solid #ffa997;
                    border-bottom: 1px solid #ffa997;
                    color: #fff;
                    line-height: .31rem;
                    text-align: center;
                    font-size: .16rem;
                }
                &:nth-child(5){
                    font-size: .18rem;
                    color: #9d9d9d;
                    margin-top: .2rem;
                }
            }
        }
        
    }
}